package Support;

import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;

import Form.Waiting;

public class ThreadWaiting extends Thread {

	JDialog dialog;
	public ThreadWaiting() {
	}

	public void run() {
		
		dialog = new JDialog();
		new Waiting(dialog);
	}

	public void show() {
		start();
	}

	public void hide() {
		dialog.dispose();
		interrupt();
	}

}
